package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
@TableName("employee_file")
public class EmployeeFile {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String applicationPosition;
    private Integer applicationYear;
    private Integer applicationMonth;
    private Integer applicationDay;
    private String name;
    private String gender;
    private Integer birthYear;
    private Integer birthMonth;
    private Integer birthDay;
    private String hometown;
    private Integer height;
    private String educationLevel;
    private String major;
    private String graduationSchool;
    private String married;
    private String healthCondition;
    private String language;
    private String languageLevel;
    private String otherSkills;
    private String specialty;
    private String currentAddress;
    private String contactPhone;
    private String jobInfoSource;
    private BigDecimal expectedSalary;
    private Integer earliestStartYear;
    private Integer earliestStartMonth;
    private Integer earliestStartDay;
    private String emergencyContactName;
    private String emergencyContactRelation;
    private String emergencyContactAddress;
    private String emergencyContactPhone;
    private String imageUrl;
    private String signature;
    private Integer signYear;
    private Integer signMonth;
    private Integer signDay;

    private String workExperienceDetail;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @TableLogic
    private Boolean deleted;
}